/* app.css */
.bpmn-icon-task.red {
  color: #cc0000 !important;
}
/* app.css */
.icon-custom {
  /* 定义一个公共的类名 */
  border-radius: 50%;
  background-size: 65%;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-custom.lindaidai-task {
  /* 加上背景图 */
  background-image: url("https://hexo-blog-1256114407.cos.ap-shenzhen-fsi.myqcloud.com/rules.png");
}
/* 避免双击创建元素的时候输入框文字的显示 */
.djs-direct-editing-parent {
  top: 220px !important;
  width: 40px !important;
}

/* app.css */
/* 自定义 contextPad 的样式 */
.djs-context-pad .entry {
  box-sizing: border-box;
  background-size: 85%;
  transition: all 0.3s;
}
.djs-context-pad .entry:hover {
  padding: 1px solid #1890ff;
}
.djs-context-pad .lindaidai-task:hover {
  background: url("https://hexo-blog-1256114407.cos.ap-shenzhen-fsi.myqcloud.com/rules.png")
    center no-repeat !important;
  background-size: cover !important;
}
/* 
.djs-context-pad .lindaidai-task .entry:hover {
  background: url("https://hexo-blog-1256114407.cos.ap-shenzhen-fsi.myqcloud.com/rules.png")
    center no-repeat !important;
  background-size: cover !important;
} */
/* app.css*/
/* contextPad自定义删除功能的icon及样式 */
.icon-custom-delete {
  background-image: url("https://hexo-blog-1256114407.cos.ap-shenzhen-fsi.myqcloud.com/delete.png");
}

.djs-context-pad .icon-custom-delete.entry:hover {
  background: url("https://hexo-blog-1256114407.cos.ap-shenzhen-fsi.myqcloud.com/delete.png")
    center no-repeat !important;
  background-size: cover !important;
}
/* 编辑样式 */
.icon-custom-edit {
  background-image: url("https://hexo-blog-1256114407.cos.ap-shenzhen-fsi.myqcloud.com/edit.png");
}
.djs-context-pad .icon-custom-edit.entry:hover {
  background: url("https://hexo-blog-1256114407.cos.ap-shenzhen-fsi.myqcloud.com/edit.png")
    center no-repeat !important;
  background-size: cover !important;
}
